<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Admin Login</title>
<link rel="shortcut icon" href="${pageContext.request.contextPath}/resources/images/favicon.ico">
<link href="http://fonts.googleapis.com/css?family=Open+Sans:400,600"
	rel="stylesheet" type="text/css">
<link type="text/css" rel="stylesheet"
	href="${pageContext.request.contextPath}/resources/admin-css/bootstrap.css"
	media="all">
<link type="text/css" rel="stylesheet"
	href="${pageContext.request.contextPath}/resources/admin-css/font-awesome.css"
	media="all">
<link type="text/css" rel="stylesheet"
	href="${pageContext.request.contextPath}/resources/admin-css/bootstrap-responsive.css"
	media="all">
<link type="text/css" rel="stylesheet"
	href="${pageContext.request.contextPath}/resources/admin-css/admin.css"
	media="all">
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,600'
	rel='stylesheet' type='text/css'>
</head>
<body
	style="background-image: url('resources/images/body_background.jpg');">
	<div style="padding: 20px; text-align: center">
		<br />
		<div class="content" style="padding-top: 40px">
			<div class="container">
				<div class="row-fluid">
					<div class="span5 offset3" >
						<div class="formy well" >
							<div class="item">
								<a href="${pageContext.request.contextPath}/home" id="homeLink ">
									<img class="logopaschino login_logo"
									src="resources/images/logo_paschino.png">
								</a>
							</div>
							<br/>
							<label class="login_title">Welcome to Admin Login Page</label>
							<br/>
							<div class="form">
								<form method="post"
									action="<c:url value='j_spring_security_check'/>">
									<div class="control-group">
										<label class="login_label control-label " for="username">
											Username </label>
										<div class="controls">
											<input class="login_input input-block-level" type="text"
												id="j_username" name="j_username" maxlength="60" required />
										</div>
									</div>
									<div class="control-group">
										<label class="login_label control-label " for="password">
											Password </label>
										<div class="controls">
											<input class="login_input input-block-level " type="password"
												id="j_password" name="j_password" minlength="6"
												maxlength="20" required />
										</div>
									</div>
									<div id="errorLogin">
										<label style="color: red"> </label>
									</div>
									<br/>
									<div class="control-group">
										<div class="controls">
											<button type="submit" value="login" name="action"
												class="login_button btn btn-success">Login</button>
											<button type="reset" class="login_button  btn btn-success"
												style="margin-left: 50px">Reset</button>
										</div>
									</div>
								</form>

							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</body>
</html>